package dcc.component;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.border.LineBorder;

public class CustomLabel extends JLabel {

	public CustomLabel(String text){
		super(text);
		this.setFont(new Font("Microsoft YaHei", Font.PLAIN, 13));
		this.setBorder(new LineBorder(new Color(0, 0, 0)));
		this.setHorizontalAlignment(SwingConstants.CENTER);
	}
}
